package jihe;

import java.util.*;

public class sql {
	ArrayList al=new ArrayList();
	public void select(int i)
	{
		System.out.println(al.get(i));
	}
	public void selectall()
	{
		for(int i=0;i<al.size();i++)
			System.out.println(al.get(i));
	}
	public void insert(int i,Object o)
	{
		al.add(i,o);
	}
	public void update(int i,Object o)
	{
		al.set(i, o);
	}
	public void delete(int i)
	{
		al.remove(i);
	}
}
